#ifndef __GLHEADER_H__
#define __GLHEADER_H__

#ifdef __APPLE__  // include Mac OS X verions of headers
#  include <OpenGL/OpenGL.h>
#  include <GLUT/glut.h>
//#  include <glew.h>
#else // non-Mac OS X operating systems
#  include <GL/glew.h>
#  include <GL/freeglut.h>
#  include <GL/freeglut_ext.h>
#endif  // __APPLE__

#include <iostream>

//  Helper function to load vertex and fragment shader files
GLuint InitShader( const char* vShaderFile, const char* fShaderFile);

#define BUFFER_OFFSET(bytes) ((GLvoid*) (bytes))

#endif // __GLHEADER_H__
